Viet-Tam Luu [Fri, 1 Dec 2017 00:53:58 +0000 (16:53 -0800)]
Support Unicode environment variables.
Create ugetenv() OS-abstraction to return a QString environment variable value. Use it in place of getenv() in most places. Update inifile.cc routines to use QString to support Unicode paths for the gpsbabel.ini file, also greatly streamlining the code.
Viet-Tam Luu [Thu, 30 Nov 2017 17:28:48 +0000 (09:28 -0800)]
Merge pull request #5 from gpsbabel/master
Merge gpsbabel/gpsbabel to viettaml/gpsbabel
tsteven4 [Tue, 28 Nov 2017 23:40:30 +0000 (16:40 -0700)]
Merge pull request #130 from tsteven4/encoding_test
add a test of utf8 filename handling.
tsteven4 [Tue, 28 Nov 2017 23:00:23 +0000 (16:00 -0700)]
add the changes for the latin1 test.
tsteven4 [Tue, 28 Nov 2017 22:57:19 +0000 (15:57 -0700)]
enhance latin1 encoding test.
tsteven4 [Tue, 28 Nov 2017 22:27:58 +0000 (15:27 -0700)]
add a test of utf8 filename handlig.
GPSBabel [Tue, 28 Nov 2017 19:59:38 +0000 (13:59 -0600)]
Merge pull request #129 from viettaml/master
Fix KML writer crash bug in realtime trackign.
Viet-Tam Luu [Mon, 27 Nov 2017 23:32:52 +0000 (15:32 -0800)]
Fix KML writer crash bug
When Google Earth uses gpsbabel to import KML in "live" USB mode, kml_wr_position_init() is called before kml_wr_init() resulting in deferencing an uninitialized "writer" pointer. The solution is just to remove the setAutoFormatting(false) call; there's no real need for it as it doesn't measurably impact performance. Also remove other calls to remove nice formatting on timestamps (addressing a FIXME comment), and update the golden test data to match.
GPSBabel [Mon, 27 Nov 2017 04:52:19 +0000 (22:52 -0600)]
Merge pull request #125 from gpsbabel/cleanup
More strongly order header includes, some const-ification tweaks.
GPSBabel [Mon, 27 Nov 2017 03:11:53 +0000 (21:11 -0600)]
Merge branch 'master' into cleanup
GPSBabel [Mon, 27 Nov 2017 02:58:24 +0000 (20:58 -0600)]
Merge pull request #123 from tsteven4/shape
cleanup support for shape files.
Robert Lipe [Mon, 27 Nov 2017 02:44:47 +0000 (20:44 -0600)]
Try hoisting windows.h earlier for windows build.
Robert Lipe [Mon, 27 Nov 2017 01:04:24 +0000 (19:04 -0600)]
Remove more strays.
Robert Lipe [Mon, 27 Nov 2017 01:01:02 +0000 (19:01 -0600)]
Eliminate stray .note files.
Robert Lipe [Mon, 27 Nov 2017 00:57:11 +0000 (18:57 -0600)]
Try to make #includes consistently ordered.
GPSBabel [Fri, 24 Nov 2017 07:26:39 +0000 (01:26 -0600)]
Merge pull request #122 from gpsbabel/header_fixes
Remove remaining scraps of electric fence. Favor Valgrind to Efence.
Robert Lipe [Fri, 24 Nov 2017 06:31:28 +0000 (00:31 -0600)]
Mechanically update c style foo(void)
tsteven4 [Thu, 23 Nov 2017 00:39:37 +0000 (17:39 -0700)]
cleanup support for shape files.
memory leaks, memory corruption, and other bugs fixed.
on write the required .dbf file is now created.
test added.
document updated.
Robert Lipe [Wed, 22 Nov 2017 23:15:22 +0000 (17:15 -0600)]
Remove remaining scraps of electric fence. Valgrind > efence.
tsteven4 [Mon, 20 Nov 2017 18:11:40 +0000 (11:11 -0700)]
Merge pull request #121 from tsteven4/gpxtest
Input redirection can fail with gpx reader on windows
tsteven4 [Mon, 20 Nov 2017 16:03:47 +0000 (09:03 -0700)]
Merge pull request #114 from tsteven4/main_qstrings
Qstring-ification of main.cc.
tsteven4 [Sun, 19 Nov 2017 22:19:35 +0000 (15:19 -0700)]
update comment on QXmlStreamReader failures.
tsteven4 [Sun, 19 Nov 2017 22:09:03 +0000 (15:09 -0700)]
work around QXmlStreamReader issue on windows.
tsteven4 [Sun, 19 Nov 2017 16:23:00 +0000 (09:23 -0700)]
Merge pull request #120 from tsteven4/trackfilter_qsort
ensure track filter merge operation is consistent.
tsteven4 [Sun, 19 Nov 2017 15:49:54 +0000 (08:49 -0700)]
ensure track filter merge operation is consistent.
tsteven4 [Sat, 18 Nov 2017 22:13:24 +0000 (15:13 -0700)]
Merge pull request #119 from tsteven4/gtmtest
make gtm test OS independent.
tsteven4 [Sat, 18 Nov 2017 21:41:10 +0000 (14:41 -0700)]
make gtm test OS independent.
tsteven4 [Sat, 18 Nov 2017 20:17:07 +0000 (13:17 -0700)]
Merge pull request #118 from tsteven4/globalsat2
fix globalsat dump on windows.
tsteven4 [Sat, 18 Nov 2017 19:35:53 +0000 (12:35 -0700)]
fix globalsat dump on windows.
tsteven4 [Fri, 17 Nov 2017 23:45:18 +0000 (16:45 -0700)]
QString-ification of main reviewers suggestions.
tsteven4 [Thu, 16 Nov 2017 17:12:56 +0000 (10:12 -0700)]
Merge pull request #117 from tsteven4/linuxusb
fix GPSBabel.pro for linux adding -lusb.
tsteven4 [Thu, 16 Nov 2017 16:58:59 +0000 (09:58 -0700)]
fix GPSBabel.pro for linux adding -lusb.
tsteven4 [Thu, 16 Nov 2017 16:28:56 +0000 (09:28 -0700)]
Merge pull request #116 from tsteven4/msvc2
build using msvc x64 on AppVeyor.
tsteven4 [Thu, 16 Nov 2017 14:17:29 +0000 (07:17 -0700)]
build using msvc x64 on AppVeyor.
tsteven4 [Tue, 14 Nov 2017 22:22:02 +0000 (15:22 -0700)]
Qstring-ification of main.cc.
tsteven4 [Tue, 14 Nov 2017 19:24:53 +0000 (12:24 -0700)]
Merge pull request #113 from tsteven4/elevation_precision
change default gpx writer elevation precision to 3.
tsteven4 [Tue, 14 Nov 2017 18:47:43 +0000 (11:47 -0700)]
change default gpx writer elevation precision to 3.
tsteven4 [Mon, 13 Nov 2017 23:22:07 +0000 (16:22 -0700)]
Merge pull request #112 from tsteven4/gopal_date
use locale independent string for gopal tracklog.
tsteven4 [Mon, 13 Nov 2017 22:43:12 +0000 (15:43 -0700)]
use locale independent string for gopal tracklog.
Robert Lipe [Mon, 13 Nov 2017 17:40:07 +0000 (11:40 -0600)]
More style/warning fixes.
Robert Lipe [Mon, 13 Nov 2017 17:13:46 +0000 (11:13 -0600)]
Fix trackfilter.
Robert Lipe [Mon, 13 Nov 2017 17:09:58 +0000 (11:09 -0600)]
Fix nmea.
Robert Lipe [Mon, 13 Nov 2017 16:55:17 +0000 (10:55 -0600)]
Merge branch 'master' of https://github.com/gpsbabel/gpsbabel
Robert Lipe [Mon, 13 Nov 2017 16:54:41 +0000 (10:54 -0600)]
Reapply warning fixes to skytraq.
Robert Lipe [Mon, 13 Nov 2017 16:44:37 +0000 (10:44 -0600)]
Bring skytraq back to original version.
tsteven4 [Mon, 13 Nov 2017 15:30:03 +0000 (08:30 -0700)]
Merge pull request #111 from tsteven4/unicsv_digits
fix unicsv writer msec corruption issue.
tsteven4 [Mon, 13 Nov 2017 14:47:46 +0000 (07:47 -0700)]
fix unicsv writer msec corruption issue.
Robert Lipe [Mon, 13 Nov 2017 09:52:18 +0000 (03:52 -0600)]
The final (?) piece for presubmit jooy..
Robert Lipe [Mon, 13 Nov 2017 09:50:09 +0000 (03:50 -0600)]
Mmore of the code cldeanup handle. It was less fun than it looked.
Robert Lipe [Mon, 13 Nov 2017 09:47:46 +0000 (03:47 -0600)]
More of the mechanical warning drugery between naps.
Robert Lipe [Mon, 13 Nov 2017 06:44:20 +0000 (00:44 -0600)]
A bunch of busywork to satisfy hyperactive warnings from newer compilers. Part 1. Explictly initialize every member of a struct, Don't use C-style functions that take no args, don't name method arguments that aren't used, etc.
GPSBabel [Mon, 13 Nov 2017 03:22:14 +0000 (21:22 -0600)]
Merge pull request #108 from gpsbabel/header_fixes
Down-merge appveyor work in progress.
tsteven4 [Sun, 12 Nov 2017 23:56:20 +0000 (16:56 -0700)]
Merge pull request #110 from tsteven4/windows_testo
track-discard test to use testo gpsbabel()
tsteven4 [Sun, 12 Nov 2017 22:49:59 +0000 (15:49 -0700)]
track-discard test to use testo gpsbabel()
tsteven4 [Sat, 11 Nov 2017 17:28:37 +0000 (10:28 -0700)]
Merge pull request #109 from tsteven4/zlib
Update zlib from 1.2.8 to 1.2.11.
tsteven4 [Sat, 11 Nov 2017 16:21:02 +0000 (09:21 -0700)]
Update zlib from 1.2.8 to 1.2.11.
Robert Lipe [Sat, 11 Nov 2017 04:35:04 +0000 (22:35 -0600)]
Keep the explict -l in LIBS.
Robert Lipe [Sat, 11 Nov 2017 04:17:47 +0000 (22:17 -0600)]
Omit the explicit .lib
Robert Lipe [Sat, 11 Nov 2017 03:58:00 +0000 (21:58 -0600)]
Try letting the compiler driver resolve path to setupapi.lib
Robert Lipe [Sat, 11 Nov 2017 03:46:05 +0000 (21:46 -0600)]
Doink. GPSBabel.pro. app.pro is the GUI.
Robert Lipe [Sat, 11 Nov 2017 03:45:00 +0000 (21:45 -0600)]
qmake with path instead of cd
Robert Lipe [Sat, 11 Nov 2017 03:43:16 +0000 (21:43 -0600)]
Chdir into gpsbabel before build.
Robert Lipe [Sat, 11 Nov 2017 03:39:45 +0000 (21:39 -0600)]
First take at appveyor. Inspired by VLC. This should run qmake.
Robert Lipe [Sat, 11 Nov 2017 03:25:47 +0000 (21:25 -0600)]
Another deprecated file from MSVC proj. Qt Includes are still whacked.
Probably best to just recomment qmake as the Official Way.
Robert Lipe [Sat, 11 Nov 2017 03:04:00 +0000 (21:04 -0600)]
First pass at removing obsolete files from MSVC proj.
tsteven4 [Fri, 10 Nov 2017 14:56:33 +0000 (07:56 -0700)]
Merge pull request #107 from tsteven4/test
enhance test_encoding to check gbfile gzapi.
tsteven4 [Fri, 10 Nov 2017 14:25:14 +0000 (07:25 -0700)]
enhance test_encoding to check gbfile gzapi.
tsteven4 [Thu, 9 Nov 2017 16:56:20 +0000 (09:56 -0700)]
Merge pull request #106 from tsteven4/test_encoding
enhance test_encoding to check up on gbfile.
tsteven4 [Thu, 9 Nov 2017 16:17:50 +0000 (09:17 -0700)]
enhance test_encoding to check up on gbfile.
tsteven4 [Wed, 8 Nov 2017 17:45:47 +0000 (10:45 -0700)]
Merge pull request #105 from tsteven4/nest_branches
fix bug with nested batch files.
tsteven4 [Wed, 8 Nov 2017 16:43:32 +0000 (09:43 -0700)]
fix bug with nested batch files.
tsteven4 [Wed, 8 Nov 2017 14:41:10 +0000 (07:41 -0700)]
Merge pull request #104 from tsteven4/lowranceusr4_overflow
fix potential buffer overflow in lowranceusr4 reader.
tsteven4 [Wed, 8 Nov 2017 13:39:32 +0000 (06:39 -0700)]
fix potential buffer overflow in lowranceusr4 reader.
Robert Lipe [Sun, 5 Nov 2017 01:15:15 +0000 (20:15 -0500)]
Merge pull request #100 from gpsbabel/header_fixes
Remove case_ignore_str_match. Header cleanups.
Robert Lipe [Sun, 5 Nov 2017 00:27:06 +0000 (19:27 -0500)]
Ref isnan from cstd namespace.
tsteven4 [Sat, 4 Nov 2017 21:51:23 +0000 (15:51 -0600)]
Merge pull request #99 from tsteven4/resync2
add test for encoding mangling of arguments, and fix the detected issues.
tsteven4 [Sat, 4 Nov 2017 20:48:53 +0000 (14:48 -0600)]
fix mangled argument handling on none utf-8 unix machines.
tsteven4 [Sat, 4 Nov 2017 20:36:44 +0000 (14:36 -0600)]
add encoding test for travis builds.
Robert Lipe [Fri, 3 Nov 2017 22:03:55 +0000 (17:03 -0500)]
Remove leftover PDB code from the Palm/OS era.
Robert Lipe [Fri, 3 Nov 2017 21:20:10 +0000 (16:20 -0500)]
Merge pull request #98 from gpsbabel/header_fixes
More header cleanups from trees laying around.
Robert Lipe [Thu, 2 Nov 2017 21:59:28 +0000 (16:59 -0500)]
Typo fixes.
Robert Lipe [Thu, 2 Nov 2017 21:55:10 +0000 (16:55 -0500)]
Fix hyperactive warnings in new clang/gcc versions.
Robert Lipe [Thu, 2 Nov 2017 21:11:58 +0000 (16:11 -0500)]
Remove unused case_ignore_str_match.
Robert Lipe [Thu, 2 Nov 2017 20:50:15 +0000 (15:50 -0500)]
More header cleanups from trees laying around.
More C++-like
Whitespace fixes
Include guards
Robert Lipe [Thu, 2 Nov 2017 05:56:29 +0000 (00:56 -0500)]
Merge pull request #97 from gpsbabel/master
Minor Header fixes
Robert Lipe [Thu, 2 Nov 2017 05:54:39 +0000 (00:54 -0500)]
Merge pull request #88 from viettaml/viettaml-patch-6
Add Unicode argument support to Windows
Robert Lipe [Thu, 2 Nov 2017 04:53:05 +0000 (23:53 -0500)]
Merge pull request #95 from fbonzon/patch-001
Sync ICAO country code table with Wikipedia
François Bonzon [Thu, 26 Oct 2017 02:18:56 +0000 (04:18 +0200)]
Fix tests
François Bonzon [Thu, 26 Oct 2017 02:11:34 +0000 (04:11 +0200)]
Fix tests
François Bonzon [Thu, 26 Oct 2017 01:54:32 +0000 (03:54 +0200)]
Sync ICAO country code table with Wikipedia
François Bonzon [Thu, 26 Oct 2017 01:49:04 +0000 (03:49 +0200)]
Consistency
Use tab, not space
Alphabetical order
François Bonzon [Thu, 26 Oct 2017 01:48:09 +0000 (03:48 +0200)]
Fix comments
François Bonzon [Thu, 26 Oct 2017 01:44:27 +0000 (03:44 +0200)]
Fix a compiler warning
warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
François Bonzon [Wed, 25 Oct 2017 23:55:55 +0000 (01:55 +0200)]
Update README
Use https links
Add year in date
Robert Lipe [Tue, 24 Oct 2017 19:56:37 +0000 (14:56 -0500)]
Merge pull request #80 from habi/patch-1
Markdownified README
Robert Lipe [Tue, 24 Oct 2017 19:53:30 +0000 (14:53 -0500)]
Merge pull request #89 from goeranu/master
Use Latin1 when converting from Garmin device.
GPSBabel [Sun, 15 Oct 2017 16:30:52 +0000 (11:30 -0500)]
Merge pull request #93 from gpsbabel/robertlipe-patch-1
Correctly read diff and terr from geo format.
Robert Lipe [Sun, 15 Oct 2017 02:59:24 +0000 (21:59 -0500)]
Correctly read diff and terr from geo format.
Thank you, Rick Richardson.
Göran Uddeborg [Sun, 1 Oct 2017 16:20:45 +0000 (18:20 +0200)]
Use Latin1 when converting from Garmin device.
Clean up duplicate call to simplified on the waypoint description
string.
viettaml [Tue, 26 Sep 2017 08:10:56 +0000 (01:10 -0700)]
Add Unicode argument support to Windows
Use QCoreApplication::arguments() to properly ingest Unicode arguments and convert them to UTF-8. Remove use of QString::fromLocal8Bit(), as file path arguments are no longer "local 8-bit" on Windows (they're UTF-8) and "local 8-bit" on Mac and Linux means UTF-8.